@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>生产记录管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-lg-6 col-sm-3">
                                <#NameCon id="gcmc" name="工程名称" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#TimeCon id="beginTime" name="生产开始日期" isTime="false" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#TimeCon id="endTime" name="生产结束日期" isTime="false" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="Tjlb.search()"/>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-lg-6 col-sm-3">
                                <#TimeCon id="outBeginTime" name="起始出厂时间" isTime="false" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#TimeCon id="outEndTime" name="末尾出厂时间" isTime="false" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#TimeCon id="inBeginTime" name="起始进厂时间" isTime="false" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#TimeCon id="inEndTime" name="末尾进厂时间" isTime="false" />
                            </div>
                        </div>
                        <div class="hidden-xs" id="TjlbTableToolbar" role="group">
                            @if(shiro.hasPermission("/tjlb/detail")) {
                                <#button name="详情" icon="fa-detail" clickFun="Tjlb.openTjlbDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/tjlb/export")) {
                            <#button name="对内导出" icon="fa-edit" clickFun="Tjlb.exportTjlbMsg()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/tjlb/export_out")) {
                            <#button name="对外导出" icon="fa-edit" clickFun="Tjlb.exportTjlbMsgOut()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/tjlb/export_checked")) {
                            <#button name="导出选中" icon="fa-edit" clickFun="Tjlb.exportTjlbMsgChecked()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/tjlb/rtj")) {
                            <#button name="日统计" icon="fa-book" clickFun="Tjlb.countByDay()" space="true" class="J_menuItem" id="rtj"/>
                            @}
                            @if(shiro.hasPermission("/tjlb/sub")) {
                            <#button name="送检统计" icon="fa-cloud-download" clickFun="Tjlb.submission()" space="true" class="J_menuItem" id="rtj"/>
                            @}
                            @if(shiro.hasPermission("/tjlb/hctj")) {
                            <#button name="对内耗材统计" icon="fa fa-fax" clickFun="Tjlb.consumableMaterial()" space="true" class="J_menuItem" id="hctj"/>
                            @}
                            @if(shiro.hasPermission("/tjlb/hctj_out")) {
                            <#button name="对外耗材统计" icon="fa fa-fax" clickFun="Tjlb.consumableMaterialOut()" space="true" class="J_menuItem" id="hctj"/>
                            @}
                        </div>
                        <#table id="TjlbTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/business/tjlb/tjlb.js"></script>
<script>
    laydate.render({
        elem: '#beginTime',
        type: 'date'
    });
    laydate.render({
        elem: '#endTime',
        type: 'date'
    });
    laydate.render({
        elem: '#outBeginTime',
        type: 'time'
    });
    laydate.render({
        elem: '#outEndTime',
        type: 'time'
    });
    laydate.render({
        elem: '#inBeginTime',
        type: 'time'
    });
    laydate.render({
        elem: '#inEndTime',
        type: 'time'
    });
</script>
@}
